#ifndef __VOLUMEUNIT_H__
#define __VOLUMEUNIT_H__

#define  OZ  VolumeUnit::getOZ( )
#define  TSP  VolumeUnit::getTSP( )
#define  TBSP  VolumeUnit::getTBSP( )

class VolumeUnit
{
private:
	explicit VolumeUnit(const unsigned int factor);
public:	
	unsigned int toAmountInBaseUnit( ) const;
	static const VolumeUnit& getOZ( );
	static const VolumeUnit& getTSP( );
	static const VolumeUnit& getTBSP( );

private:
	unsigned int factor;
};

#endif
